<?php /* Smarty version 2.6.16, created on 2013-09-10 09:55:22
         compiled from ../templates/default//modules/blogs/listblogs.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', '../templates/default//modules/blogs/listblogs.tpl', 22, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo '<link rel="stylesheet" type="text/css" href="';  echo $this->_tpl_vars['siteroot'];  echo '/templates/default/style/find_job_list.css">'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<section class="middle_portion">
	<section class="inner_head">Blogs</section>
    <section class="inner_containstart">
        <section class="listblogs">
            <section class="blog-item">
            <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['blogs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
            <section class="blog-dottedline">
				<section class="blog-inner">
                 <section class="blog-item-thumb">
						<a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['url']; ?>
" title="<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['title']; ?>
">
							<img alt="<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['title']; ?>
" src="<?php echo $this->_tpl_vars['siteroot']; ?>
/includes/image.php?width=150&amp;height=150&amp;image=<?php echo $this->_tpl_vars['siteroot']; ?>
/uploads/blog/<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['image']; ?>
" />
						</a>
					</section>
                  <section  class="blog-item-body">
                   	<section class="featredtrade_subhead"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['url']; ?>
" ><?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['title']; ?>
</a><span><?php echo ((is_array($_tmp=$this->_tpl_vars['AllReviewUser'][$this->_sections['i']['index']]['trade_name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 15, "") : smarty_modifier_truncate($_tmp, 15, "")); ?>
</span></section>
                    <section class="featredjobs_descrip"><?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['introtext']; ?>
</section>
                    <div style="margin:10px 0;">
						<a style="width:40px;" class="btn" href="<?php echo $this->_tpl_vars['siteroot']; ?>
/<?php echo $this->_tpl_vars['blogs'][$this->_sections['i']['index']]['url']; ?>
">Detail</a>
					</div>    
                  </section>
                    <section class="clear"></section>
				</section>	
                </section>
            <?php endfor; endif; ?>
			<section class="clear"></section>    
            </section>
			
			<?php if ($this->_tpl_vars['pagenation']): ?>
				<section class="pagna">
				<?php echo $this->_tpl_vars['pagenation']; ?>

				</section>
			<?php endif; ?>
			
        </section>
        <section class="clear"></section>
    </section>
</section>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>